using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ACME.Northwind.DataTransfer;

namespace ACME.Northwind.Service.Interfaces
{
	/// <summary>
	/// The service interface for the 'Order' object type
	/// </summary>
	public partial interface IOrderService : IPersistableService<OrderDTO>
	{
		/// <summary>
		/// Return a specific Order object by primary key
		/// </summary>
		OrderDTO SelectByPrimaryKey(int orderid);

		/// <summary>
		/// Return a list of related OrderDetail objects
		/// </summary>
		List<OrderDetailDTO> GetOrderDetailList(OrderDTO item);

		/// <summary>
		/// Return the related Customer item
		/// </summary>
		CustomerDTO GetCustomerItem(OrderDTO item);

		/// <summary>
		/// Return the related Employee item
		/// </summary>
		EmployeeDTO GetEmployeeItem(OrderDTO item);

		/// <summary>
		/// Return the related Shipper item
		/// </summary>
		ShipperDTO GetShipperItem(OrderDTO item);

	}
}
